tools/build: Remove bpf() run-time check at build time
authorBen Hutchings <ben@decadent.org.uk>
Sun, 21 Feb 2016 15:33:15 +0000 (15:33 +0000)
committerBastian Blank <waldi@debian.org>
Sun, 16 Dec 2018 18:45:54 +0000 (18:45 +0000)
commitd8a5787b93d94cd31f6d6b294c27314c7b787e03
treebd42ec3e61769447fde225ab233f4efd794b12af
parentd8f78ca9ec89e30df9a6cb1f9d70dc4889f86cd7
tools/build: Remove bpf() run-time check at build time

It is not correct to test that a syscall works on the build system's
kernel.  We might be building on an earlier kernel version or with
security restrictions that block bpf().

Signed-off-by: Ben Hutchings <ben@decadent.org.uk>
Gbp-Pq: Topic bugfix/all
Gbp-Pq: Name tools-build-remove-bpf-run-time-check-at-build-time.patch
tools/build/feature/test-bpf.c